#ifndef msg_mark_h
#define msg_mark_h

// export interface.
#ifdef __cplusplus
extern "C" {
#endif

struct msg_markTag;

// return NULL if failure.
struct msg_markTag* init_msg_mark(const char* filename);

void release_msg_mark(struct msg_markTag* obj);

// import __FILE__ and __LINE__
#include <windows.h>

#define mark_msg(obj, msg) _mark(obj, msg, __FILE__, __LINE__)

#ifdef __cplusplus
}
#endif

#endif
